import { request } from '../utils/request'

// 获取签到活动H5推荐商品
export const getRecommendGoods = () => {
  return request({
    url: '/Alipay/Index/getRecommendGoods',
    method: 'GET'
  })
}

// 添加公司、添加在线留言
export const addMessage = (data) => {
  return request({
    url: '/Alipay/Index/addMessage',
    method: 'POST',
    data
  })
}

export const get_order_pay = (data) => {
  console.log(data);
  return request({
    url: '/Alipay/Pay/submitOrderShouldPayDetail',
    method: 'POST',
    data
  })
}

export const get_list_api = (data) => {
  console.log(data);
  return request({
    url: '/Alipay/Index/getMarketingActivity',
    method: 'POST',
    data
  })
}